$(function() {
	
	$(document).on(START_EV, ".solutionli", changeSolution) //问题li点击事件
	var swiper1 = new Swiper('#swiper1', {
		pagination: '.swiper-pagination',
		paginationClickable: true
	});

	var mobswiper1 = new Swiper('#mobswiper1', {
		pagination: '.swiper-pagination',
		paginationClickable: true
	});

	$(".newsli .rightdiv").mouseover(function(){
		
	})

	var clientW = document.documentElement.clientWidth;
	if(clientW > 1440 || clientW == 1440) {
		$('#dowebok').fullpage({
			 scrollBar: true,
			afterRender: function() {
				wow = new WOW({
					animateClass: 'animated',
				});
				wow.init();
			}
		});
	}
	function changeSolution() {
		//当前点击对象中的元素改变
		$(this).find(".blue").css("display", "block");
		$(this).find(".gray").css("display", "none");
		$(this).find("p").css("color", "#2a90f5");
		$(this).find("small").css("color", "#2a90f5");
		//当前点击对象的兄弟的元素改变
		$(this).siblings().find(".blue").css("display", "none");
		$(this).siblings().find(".gray").css("display", "block");
		$(this).siblings().find("p").css("color", "#333");
		$(this).siblings().find("small").css("color", "#555");
		//这里图片路径取当前点击的问题的图片
		$("#solutionImg").attr("src", "images/index/solution01.jpg");
	}
})